/**
 * Created by LangK on 2016/12/20.
 */
import Vue from 'vue'
require("../../API/config")
export default {
  getmobilenewsList({}, postdata) {
    var ipstr = '/V1.0.0/api/newsControlApi/findById?id=' + postdata.id
    console.log(postdata.id)
    return Vue.http.get(ipstr, {}).then(response => {
      if (response.status === 200) {
        return Promise.resolve(response.body)
      } else {
        return Promise.reject(response.data.message)
      }
    })
  }
}
